AddNumberTo
Type
statement
Summary
Adds Value to Target.
Syntax
add <Value> to <Target>
Description
Adds the number Value to Target.
note
It is a syntax error if Target does not evaluate to a variable.
Parameters
Name | Type | Description |
---|---|---|
Target | An expression that evaluates to a numeric container. | |
Value | An expression that evaluates to a number. |
Examples
variable tVar as Number
put 2 into tVar
add 10 to tVar -- tVar contains 12